.main-header-bar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: #fff;
  box-shadow: 0 2px 12px rgba(34,96,255,0.06);
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
}

.main-header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
}

.main-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-header-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
}

.main-header-title {
  font-size: 22px;
  font-weight: bold;
  color: #222;
  letter-spacing: 2px;
}

.main-header-search {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f8fbff;
  border-radius: 12px;
  border: 1.5px solid #e3e8f0;
  margin: 0 32px;
  height: 44px;
  min-width: 320px;
  max-width: 520px;
  box-shadow: 0 2px 8px rgba(34,96,255,0.03);
  position: relative;
}

.main-header-search-icon {
  margin-left: 16px;
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.main-header-search-input {
  flex: 1;
  height: 44px;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: #222;
  padding: 0 8px;
}

.main-header-search-input::placeholder {
  color: #bfc8d7;
  font-size: 15px;
}

.main-header-search-camera {
  background: none;
  border: none;
  margin: 0 8px 0 8px;
  padding: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  transition: background 0.2s;
}

.main-header-search-camera:hover {
  background: #f5f7fa;
}

.main-header-search-btn {
  background: #2260ff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  height: 36px;
  min-width: 70px;
  margin-right: 10px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(34,96,255,0.08);
}

.main-header-search-btn:hover {
  background: #1746b8;
}

.main-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-header-action-btn {
  background: #f5f7fa;
  color: #2260ff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 0 16px;
  height: 36px;
  cursor: pointer;
  transition: background 0.2s;
}

.main-header-action-btn:hover {
  background: #e6edff;
}

.main-header-login-btn {
  background: linear-gradient(90deg, #2260ff 0%, #4f8cff 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 0 20px;
  height: 36px;
  cursor: pointer;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(34,96,255,0.08);
  transition: background 0.2s;
}

.main-header-login-btn:hover {
  background: linear-gradient(90deg, #1746b8 0%, #2260ff 100%);
}

.header-login-sticky {
  position: fixed;
  top: 0;
  right: 32px;
  z-index: 2002;
  background: transparent;
  height: 64px;
  display: flex;
  align-items: center;
}

.header-login-sticky .main-header-login-btn {
  background: linear-gradient(90deg, #2260ff 0%, #4f8cff 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 0 20px;
  height: 36px;
  cursor: pointer;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(34,96,255,0.08);
  transition: background 0.2s;
}

.header-login-sticky .main-header-login-btn:hover {
  background: linear-gradient(90deg, #1746b8 0%, #2260ff 100%);
} 